package com.wms.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "到货登记单")
public class Purchase {
    @ApiModelProperty(value = "到货单id")
    private int id;
    @ApiModelProperty(value = "采购单号")
    private String purchaseCode;
    @ApiModelProperty(value = "供应商名称")
    private String supplier;
    @ApiModelProperty(value = "产品品类")
    private String category;
    @ApiModelProperty(value = "采购日期")
    private String purchaseDate;
    @ApiModelProperty(value = "截止日期")
    private String deadLine;
    @ApiModelProperty(value = "采购人")
    private String purchaseUser;
    @ApiModelProperty(value = "入库状态 1 未入库  2 部分入库 3 已入库")
    private int storeStatus;
    @ApiModelProperty(value = "采购原料详情")
    List<PurchaseDetail> purchaseMaterials;

    @ApiModelProperty(value = "采购商品详情")
    List<PurchaseGoods> purchaseGoodsList;
}
